package ooday04;

/**
 * 主人
 */
public class Master {
    void feed(Animal animal) {//喂动物
        animal.eat();
    }
}
/*
    void feed(Dog dog) {
        dog.eat();
    }
    void feed(Fish fish){
        fish.eat();
    }
    void feed(Chick chick){
        chick.eat();
    }
}
*/
